//
//  ZTCareVideoTableViewCell.m
//  zhibo8
//
//  Created by zzt on 16/11/21.
//  Copyright © 2016年 zzt. All rights reserved.
//

#import "ZTVideoCell.h"
#import "ZTVideoICelltem.h"
#import <UIImageView+WebCache.h>

@interface ZTVideoCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imagveV;
@property (weak, nonatomic) IBOutlet UILabel *titleView;
@property (weak, nonatomic) IBOutlet UILabel *timeView;
@property (weak, nonatomic) IBOutlet UILabel *discussCount;

@end

@implementation ZTVideoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setItem:(ZTVideoICelltem *)item {
    _item = item;
//    [_imagveV sd_setImageWithURL:[NSURL URLWithString:item.img] placeholderImage:[UIImage imageNamed:@"user_default1"]];
//    _titleView.text = item.name;
    
    [_imagveV sd_setImageWithURL:[NSURL URLWithString:item.url] placeholderImage:[UIImage imageNamed:@"user_default1"]];
    _timeView.text = item.createtime;
    _titleView.text = item.title;

}
@end
